home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / help / READ.DIR / take.HLP < prev    next >
Encoding:
Text File  |  1990-12-18  |  1.6 KB  |  34 lines

  1. TAKE  -  execute MM commands from a file
  2.  
  3. Usage:  TAKE [inputfile] [outputfile] [errorfile]
  4.  
  5. The TAKE command tells MM to execute commands from a file (inputfile), 
  6.   as if they were typed at the terminal.  The file therefore must consist 
  7.   of one or more MM commands, each on a separate line.  
  8.  
  9. If you specify only one filename, the results of the commands are shown on 
  10.   the screen.  If a second filename is given (for an output file), the 
  11.   commands and results are written to that file and nothing appears on
  12.   screen.  The special filename /dev/tty will make your screen be the output
  13.   file, so you see both the commands and results.  The third filename (an
  14.   error file) is for any error messages; output to screen and file work the 
  15.   same way as for the output file.
  16.  
  17. MM stops using the TAKEn file when one of three conditions occurs: end of
  18.   the TAKE file; an error occurs; or the command TAKE with no arguments
  19.   is found in the file.  The last is the preferred way to end.
  20.   
  21. You would usually TAKE a file while at TOP-LEVEL.  See the example in
  22.   "help take" from the MM> prompt.  If you TAKE while in READ MODE,
  23.   the commands *must* be possible commands in READ MODE-- beware of
  24.   commands with message-sequences, for example, which are limited to
  25.   TOP-LEVEL. 
  26.  
  27. MM TAKEs files automatically, if they exist, in two cases.  A file named
  28.   .mmrc will be TAKEn when MM starts up.  A file named <mailfilename>.rc
  29.   will be TAKEn when you GET or EXAMINE <mailfilename>, i.e. "oldmail.rc"
  30.   when you GET "oldmail".
  31.  
  32. For more help type "help" and one of these topics
  33.   echo   other
  34.